package com.fimmlps.reronge.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@TableName("actor_single")
public class ActorSingle {

  @TableId(value = "actor_single_id",type = IdType.AUTO)
  private Integer actorSingleId;
  private Integer userId;
  private String title;
  private String content;
  private Integer clicks;
  private LocalDateTime createTime;
  private LocalDateTime updateTime;


  public Integer getActorSingleId() {
    return actorSingleId;
  }

  public void setActorSingleId(Integer actorSingleId) {
    this.actorSingleId = actorSingleId;
  }

  public Integer getUserId(){return userId;}

  public void setUserId(Integer userId){this.userId = userId;}

  public String getTitle() {
    return title;
  }

  public void setTitle(String title) {
    this.title = title;
  }


  public String getContent() {
    return content;
  }

  public void setContent(String content) {
    this.content = content;
  }


  public Integer getClicks() {
    return clicks;
  }

  public void setClicks(Integer clicks) {
    this.clicks = clicks;
  }


  public LocalDateTime getCreateTime() {
    return createTime;
  }

  public void setCreateTime(LocalDateTime createTime) {
    this.createTime = createTime;
  }


  public LocalDateTime getUpdateTime() {
    return updateTime;
  }

  public void setUpdateTime(LocalDateTime updateTime) {
    this.updateTime = updateTime;
  }

}
